<template>
  <footer :class="['footer', { black: black }]">
    我是底部的
  </footer>
</template>

<script>
export default {
  props: {
    black: {
      type: Boolean,
      default: false,
    },
  },
}
</script>

<style>
.footer {
  color: green !important;
  text-align: center;
  height: 60px;
  border-top: 1px solid #ddd;
  background: #fff;
  line-height: 60px;
}
</style>
